home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000055_onions@kr01.piahost.net_Wed May 7 09:54:45 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
2KB
|
51 lines
Article: 14273 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: onions@kr01.piahost.net (onions)
Newsgroups: comp.protocols.kermit.misc
Subject: "ftp check file": some machines are ok, some are not
Date: 6 May 2003 12:27:49 -0700
Organization: http://groups.google.com/
Lines: 33
Message-ID: <8a794c4f.0305061127.44650bc6@posting.google.com>
NNTP-Posting-Host: 203.226.144.34
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052249269 24633 127.0.0.1 (6 May 2003 19:27:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 May 2003 19:27:49 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14273
Hello kermit users,
I am trying to download files only when a certain file is not on the
directory. As you may guess, the file is an indicator and means
" files on the directory are being modified, so don't download ".
I have used "ftp check INDICATOR" as below:
...
ftp check INDICATOR
if success exit 1
if fail {
ftp mget *
ftp bye
}
exit
The problem is the above code works on machines connected by ppp,
and dosn't work on machines connected by internet.
It shows the message as below, and hold for the user's input.
"Control-C" makes move forward, but it should be done without
user's input.
Remote system type is UNIX.
Default transfer mode is BINARY
CWD command successful.
INDICATOR: No such file or directory. -----> waiting
Any help would be appreciated.
My working env is Linux(Redhat 8.0) and C-Kermit 8.0.209
onions (onions@kr01.piahost.net)